package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgOrderPayLog;
import com.ygqh.baby.po.YgOrderPayLogExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YgOrderPayLogMapper {
    int countByExample(YgOrderPayLogExample example);

    int deleteByExample(YgOrderPayLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgOrderPayLog record);

    int insertSelective(YgOrderPayLog record);

    List<YgOrderPayLog> selectByExample(YgOrderPayLogExample example);

    YgOrderPayLog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgOrderPayLog record, @Param("example") YgOrderPayLogExample example);

    int updateByExample(@Param("record") YgOrderPayLog record, @Param("example") YgOrderPayLogExample example);

    int updateByPrimaryKeySelective(YgOrderPayLog record);

    int updateByPrimaryKey(YgOrderPayLog record);

    int addBatch(@Param("logs") List<YgOrderPayLog> logs);
}